import 'package:base_flutter/base_flutter.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/src/widgets/framework.dart';
import 'package:ls_work/viewmodel/service_order/finish_service_order_home_view_model.dart';

class FinishServiceOrderHomeWidget extends BaseStatefulMvvmWidget{
  @override
  State<StatefulWidget> createState() => _FinishServiceOrderState();

}

class  _FinishServiceOrderState extends BaseMvvmState<FinishServiceOrderHomeViewModel,FinishServiceOrderHomeWidget>{
  @override
  Widget buildLoadingContentView() {
    return viewModel.selectTypeWidget();
  }

  @override
  Widget buildRootView(BuildContext context, Widget loadingContentWidget) {
    return loadingContentWidget;
  }

  @override
  FinishServiceOrderHomeViewModel createViewModel() {
    return FinishServiceOrderHomeViewModel(context);
  }

  @override
  void onRetryClick() {

  }

}